package cn.mj.utils;

import java.io.PrintWriter;
import java.io.StringWriter;

public class Printlog {

	
	public static String printloginfo(Exception e){
		StringWriter sw=new StringWriter();
		e.printStackTrace(new PrintWriter(sw,true));
		String str = sw.toString();
		return str;
	}
}
